#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2022/2/17 11:45
# @Author  : ldh
from basic.UIParent import UIParent
from basic.utils.asserts import asserts
from commen.page.awz.awz_headlines_page import awz_headlines_page


class awz_headlines(UIParent):

    @classmethod
    def test_headlines(cls):
        '''市民头条'''
        status=awz_headlines_page.ifexist()
        if status==True:
            awz_headlines_page.opennews()
        check=awz_headlines_page.check()
        asserts.true(check,"市民头条页面校验")

